<template>
  <v-dialog
    :value="value"
    @input="$emit('input',false)"
  >
    <popupVue
      v-if="value"
      @close="$emit('input',false)"
      :columns="columns"
      :filters="filters"
      req_url="/api/RepairReport/ItemPageList"
    >
      <template #title>
        报修工单明细
      </template>
      <template #sub-title>
        {{sub_title}}
      </template>
    </popupVue>
  </v-dialog>
</template>

<script>
import popupVue from "./popup.vue"; 
export default {
  components: {
    popupVue,
  },
  props: {
    value: Boolean,
    filters: Array,
    sub_title: String,
  },
  data() {
    return {
      columns: [],
    };
  },
  async mounted() {
    // this.columns = await getColumns("RepairViewListModel");
  },
};
</script>

<style>
</style>